package com.yc;

import com.yc.biz.AccountBizImpl;
import com.yc.configs.Config;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @ClassName App01
 * @since: 2023/8/2 14:45
 * @auth: kirito
 * @description:
 **/
public class App01 {
    public static void main(String[] args) {
        ApplicationContext app = new AnnotationConfigApplicationContext(Config.class);
        AccountBizImpl accountBiz = (AccountBizImpl)app.getBean("accountBizImpl");
        accountBiz.addAccount(1,99);
    }
}
